<template>
  <div class="q-pa-md" style="max-width: 350px">
    <t-list bordered>
      <t-item clickable v-ripple>
        <t-item-section>Icon as avatar</t-item-section>
        <t-item-section avatar>
          <t-icon color="primary" name="bluetooth" />
        </t-item-section>
      </t-item>

      <t-item clickable v-ripple>
        <t-item-section>Avatar-type icon</t-item-section>
        <t-item-section avatar>
          <t-avatar color="teal" text-color="white" icon="bluetooth" />
        </t-item-section>
      </t-item>

      <t-item clickable v-ripple>
        <t-item-section>Rounded avatar-type icon</t-item-section>
        <t-item-section avatar>
          <t-avatar
            rounded
            color="purple"
            text-color="white"
            icon="bluetooth"
          />
        </t-item-section>
      </t-item>

      <t-item clickable v-ripple>
        <t-item-section>Letter avatar-type</t-item-section>
        <t-item-section avatar>
          <t-avatar color="primary" text-color="white"> R </t-avatar>
        </t-item-section>
      </t-item>

      <t-separator />

      <t-item clickable v-ripple>
        <t-item-section>Image avatar</t-item-section>
        <t-item-section avatar>
          <t-avatar>
            <img src="https://cdn.quasar.dev/img/boy-avatar.png" />
          </t-avatar>
        </t-item-section>
      </t-item>

      <t-item clickable v-ripple>
        <t-item-section>Image square avatar</t-item-section>
        <t-item-section avatar>
          <t-avatar square>
            <img src="https://cdn.quasar.dev/img/boy-avatar.png" />
          </t-avatar>
        </t-item-section>
      </t-item>

      <t-item clickable v-ripple>
        <t-item-section>Image rounded avatar</t-item-section>
        <t-item-section avatar>
          <t-avatar rounded>
            <img src="https://cdn.quasar.dev/img/boy-avatar.png" />
          </t-avatar>
        </t-item-section>
      </t-item>

      <t-separator />

      <t-item clickable v-ripple>
        <t-item-section>List item</t-item-section>
        <t-item-section avatar>
          <t-avatar rounded>
            <img src="https://cdn.quasar.dev/img/mountains.jpg" />
          </t-avatar>
        </t-item-section>
      </t-item>

      <t-item clickable v-ripple>
        <t-item-section>List item</t-item-section>
        <t-item-section thumbnail>
          <img src="https://cdn.quasar.dev/img/mountains.jpg" />
        </t-item-section>
      </t-item>
    </t-list>
  </div>
</template>
